package com.lib724.web.controller;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import com.google.inject.Inject;
import com.javaeedev.lightweight.mvc.Action;
import com.lib724.dao.impl.Facade;

/**
 * Super class for all Actions that inject facade object.
 * 
 * @author Xuefeng
 */
public abstract class AbstractAction implements Action {

    protected Log log = LogFactory.getLog(getClass());
    protected Facade facade;

    @Inject
    public void inject(Facade facade) {
        this.facade = facade;
    }

}
